<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <a href="javascript:void(0);" onclick="console.log(1);">Hello</a>
</body>
<!-- <script src="hello.js"></script> -->
<script type="text/javascript">
    console.log(1);
    var str = "Hello";
    console.log(str);
    // console.log(12);
</script>
</html>